Skip to content

chore(e2e): just recipes for the gh-automatable setup#49

Merged
lex00 merged 1 commit into
mainfrom
chore/e2e-setup-recipes
Jun 19, 2026
Merged

chore(e2e): just recipes for the gh-automatable setup#49
lex00 merged 1 commit into
mainfrom
chore/e2e-setup-recipes

Conversation

@lex00

@lex00 lex00 commented Jun 19, 2026

Copy link
Copy Markdown
Contributor

Answers "how much of e2e setup can gh do?" by codifying the automatable part.

just e2e-setup <test-org> <app-slug> <pem-path>

  • gh api /orgs/<org>/installations → discovers the App id + installation id (no need to copy them by hand)
  • gh secret set → wires all four WARDEN_E2E_* repo secrets (org, app-id, installation-id, private-key-from-pem)

just e2e-run [apply]

  • gh workflow run e2e.yml (Phase 1; pass true for Phase 2), and prints the watch command

Still web-only (gh/API can't)

Creating the test org, creating the GitHub App, downloading its .pem, and clicking Install — those are the manual prereqs. Everything after is one command.

README updated with the flow.

🤖 Generated with Claude Code

The gh-automatable part of e2e setup: `just e2e-setup <org> <app-slug>
<pem>` discovers the App id + installation id from the org's
installations and sets all four WARDEN_E2E_* repo secrets; `just e2e-run
[apply]` dispatches the workflow. (Creating the App/org and downloading
the .pem remain web-only.) README documents the flow.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@lex00 lex00 merged commit 336c00f into main Jun 19, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant